package com.bigfish.gbs.dao;

import com.bigfish.gbs.dto.GoodsVO;
import com.bigfish.gbs.entity.Goods;

import java.util.List;

public interface GoodsMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Goods record);

    int insertSelective(Goods record);

    Goods selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Goods record);

    int updateByPrimaryKey(Goods record);

    List<GoodsVO> selectGoodsList();

    int insertReturnId(Goods goods);

    List<GoodsVO> selectByStatus(Byte status);

    List<GoodsVO> selectByName(String name);
}